@echo off
del imgurUploaderCOM.xpi
"c:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\MSDEV.COM" imgurUploaderCOM.dsp /MAKE "imgurUploaderCOM - Win32 Debug" /REBUILD

copy .\Debug\imgurUploaderCOM.dll .\extension\XPI\components
copy .\IImgurUploaderCOM.xpt .\extension\XPI\components
cd extension\XPI
"%PROGRAMFILES%\7-zip\7z" a -tzip -mx=7 -xr!.svn ..\..\imgurUploaderCOM.xpi *
cd ..\..\
pause
